<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
/**
 * Template Listagem
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<!--
/**
 * Template registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</style>
{END style_block}
{BEGIN iestyle_block}<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY {$bodyattrs} marginwidth="0" marginheight="0">{BEGIN body}{$header} 
<div id="height100{$id}">{BEGIN mastertable_block}<DIV id="mastertable_block{$id}">{$showmasterfile} 
<A class=toplinks {$backtomasterlink_attrs}><B><span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs} onClick="history.go(-1)"></span>

    </A> 
<BR></DIV>{END mastertable_block}
{BEGIN toplinks_block}<DIV id="toplinks_block{$id}"><h2><B>Programacao&nbsp;Mensal</B></h2> </DIV>{END toplinks_block}
{BEGIN search_records_block}<div id="recordcontrolsadd_block{$id}" class="shade"><span id="search_records_block{$id}" class="shade">{BEGIN searchform}<!-- Search panel header for horizontal layouts --><SPAN id="searchform{$id}" align="absmiddle"><SPAN id="searchPanelHeader{$id}">{$simpleSearchFieldCombo} 
{$simpleSearchTypeCombo} 
{BEGIN searchform_text}<INPUT size=25 {$searchfor_attrs}>{END searchform_text} &nbsp; {BEGIN searchform_search}<SPAN class=buttonborder><input type=button class="button" value="Buscar" {$searchbutton_attrs}></SPAN>{END searchform_search} 
&nbsp; {BEGIN searchform_showall}<span id="showall{$id}" class="buttonborder" {$showAllCont_attrs}><INPUT class=button type=button value="Mostrar Todos" {$showallbutton_attrs}></span>{END searchform_showall} 
</SPAN>{BEGIN searchPanelTopButtons}<SPAN><!--&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
        --> 
&nbsp; <SPAN class=buttonborder><input class="button" type="button" id="showOptPanel{$id}" style="background-image: url(images/search/showOptions.gif);" {$showHideSearchPanel_attrs} ></SPAN> 
</SPAN>{END searchPanelTopButtons}</SPAN>{END searchform}{BEGIN details_block}<span  {$details_attrs}>Ítens Encontrados: <B>{$records_found}</B>&nbsp;&nbsp;&nbsp;&nbsp;</span>{END details_block} 
{BEGIN pages_block}<span {$pages_attrs}>Página <B>{$page}</B> 
de <B>{$maxpages}</B></span>{END pages_block} 
&nbsp;&nbsp;&nbsp;&nbsp; {BEGIN recordspp_block}<!-- class="center_block" --> {$recsPerPage}{END recordspp_block}</span></div>{END search_records_block}<!-- search panel and window -->
<DIV class=searchPanelContainer id="searchPanelContainer{$id}">{$adv_search_panel} 
</DIV>
<DIV {$marginStyle} moveForSearch="move{$id}">{BEGIN recordcontrols_block}<DIV id="record_controls{$id}">{BEGIN newrecord_controls}<span id="newrecord_controls{$id}">{BEGIN add_link}<span class=buttonborder><input type=button class="button" value="Adicionar Novo" {$addlink_attrs}>
    </span> {END add_link}</span>{END newrecord_controls}{$lookupSearchControls}
{BEGIN record_controls}<span id="record_controls{$id}2">{BEGIN deleteselected_link}<span class=buttonborder {$deleteselectedlink_span}><input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>{END deleteselected_link}

        
         </span>{END record_controls} </DIV>{END recordcontrols_block}
<DIV class=message id="usermessage{$id}">{$user_message}<INPUT class=button id=New_Button type=button value="CONCLUIR PLANEJAMENTO" typeid="ib"></DIV>

{BEGIN grid_block}<table name="maintable" class="display" cellspacing=2 cellpadding=3 border=0 id="grid_block{$id}">{BEGIN grid_header}<THEAD><TR vAlign=top {$gridHeader_attrs}>{BEGIN record_header}{BEGIN listIcons_column}<th align="center" class="blackshade" {$widthListIcons} iEditCont="all" nowrap="nowrap">&nbsp;</th>{END listIcons_column}
    {BEGIN checkbox_column}<TH class=blackshade align=left width=20>{BEGIN checkbox_header}<INPUT type=checkbox {$checkboxheader_attrs}> 
    {END checkbox_header}</TH>{END checkbox_column}
    {BEGIN id_classificacao_orcamentaria_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN id_classificacao_orcamentaria_fieldheader}<A class=defblackshade {$id_classificacao_orcamentaria_orderlinkattrs}>Classificacao 
      Orcamentaria</A>{END id_classificacao_orcamentaria_fieldheader} &nbsp; </th>{END id_classificacao_orcamentaria_fieldheadercolumn}
    {BEGIN mes_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN mes_fieldheader}<A class=defblackshade {$mes_orderlinkattrs}>Mes</A>{END mes_fieldheader} &nbsp; </th>{END mes_fieldheadercolumn}
    {BEGIN detalhe_pedido_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; Detalhe Pedido &nbsp; 
    </th>{END detalhe_pedido_fieldheadercolumn}
    {BEGIN custo_programado_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN custo_programado_fieldheader}<A class=defblackshade {$custo_programado_orderlinkattrs}>Custo Programado</A>{END custo_programado_fieldheader} &nbsp; </th>{END custo_programado_fieldheadercolumn}
    {BEGIN obs_uc_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; 
      Obs Uc &nbsp; </th>{END obs_uc_fieldheadercolumn}
    {BEGIN obs_reg_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; Obs Reg &nbsp; </th>{END obs_reg_fieldheadercolumn}
    {BEGIN obs_sede_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; Obs Sede &nbsp; </th>{END obs_sede_fieldheadercolumn}
    {BEGIN status_progr_uc_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN status_progr_uc_fieldheader}<A class=defblackshade {$status_progr_uc_orderlinkattrs}>UC</A>{END status_progr_uc_fieldheader} &nbsp; </th>{END status_progr_uc_fieldheadercolumn}
    {BEGIN status_progr_reg_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN status_progr_reg_fieldheader}<A class=defblackshade {$status_progr_reg_orderlinkattrs}>Regional</A>{END status_progr_reg_fieldheader} &nbsp; </th>{END status_progr_reg_fieldheadercolumn}
    {BEGIN status_progr_sede_fieldheadercolumn}<th class="blackshade" align="center">&nbsp; {BEGIN status_progr_sede_fieldheader}<A class=defblackshade {$status_progr_sede_orderlinkattrs}>Sede</A>{END status_progr_sede_fieldheader} &nbsp; </th>{END status_progr_sede_fieldheadercolumn}
    {BEGIN endrecordheader_block}<th>&nbsp;</th>{END endrecordheader_block}{END record_header}</TR></THEAD>{END grid_header}
  {BEGIN grid_row}<TR vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}{BEGIN listIcons_column}<td align="left" class="listIcons" iEditCont="all" valign="middle" nowrap="nowrap">{BEGIN edit_column}{BEGIN edit_link}<a {$editlink_attrs} title="Editar" rel="Editar" class="tooltip" ><IMG class=listIcon alt=Editar 
      src="images/icon_edit_new.gif" align=middle border=0></a> {END edit_link}{END edit_column}</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD vAlign=middle align=left width=20>{BEGIN checkbox}<INPUT type=checkbox {$checkbox_attrs}> {END checkbox}</TD>{END checkbox_column}
    {BEGIN id_classificacao_orcamentaria_fieldcolumn}<TD vAlign=middle {$id_classificacao_orcamentaria_style}>{$id_classificacao_orcamentaria_value} 
    </TD>{END id_classificacao_orcamentaria_fieldcolumn}
    {BEGIN mes_fieldcolumn}<TD vAlign=middle {$mes_style}>{$mes_value} </TD>{END mes_fieldcolumn}
    {BEGIN detalhe_pedido_fieldcolumn}<TD vAlign=middle {$detalhe_pedido_style}>{$detalhe_pedido_value} </TD>{END detalhe_pedido_fieldcolumn}
    {BEGIN custo_programado_fieldcolumn}<TD vAlign=middle {$custo_programado_style}>{$custo_programado_value} </TD>{END custo_programado_fieldcolumn}
    {BEGIN obs_uc_fieldcolumn}<TD vAlign=middle {$obs_uc_style}>{$obs_uc_value} </TD>{END obs_uc_fieldcolumn}
    {BEGIN obs_reg_fieldcolumn}<TD vAlign=middle {$obs_reg_style}>{$obs_reg_value} </TD>{END obs_reg_fieldcolumn}
    {BEGIN obs_sede_fieldcolumn}<TD vAlign=middle {$obs_sede_style}>{$obs_sede_value} </TD>{END obs_sede_fieldcolumn}
    {BEGIN status_progr_uc_fieldcolumn}<TD vAlign=middle {$status_progr_uc_style}>{$status_progr_uc_value} </TD>{END status_progr_uc_fieldcolumn}
    {BEGIN status_progr_reg_fieldcolumn}<TD vAlign=middle {$status_progr_reg_style}>{$status_progr_reg_value} </TD>{END status_progr_reg_fieldcolumn}
    {BEGIN status_progr_sede_fieldcolumn}<TD vAlign=middle {$status_progr_sede_style}>{$status_progr_sede_value} </TD>{END status_progr_sede_fieldcolumn}
    {BEGIN endrecord_block}<TD class=body2 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>{END grid_row}
  {BEGIN totals_row}<TFOOT><TR rowid="totals">{BEGIN totals_record}{BEGIN listIcons_column}<TD class=blackshade noWrap align=middle>&nbsp;</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD class=blackshade align=middle width=50>&nbsp; </TD>{END checkbox_column}
    {BEGIN id_classificacao_orcamentaria_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END id_classificacao_orcamentaria_fieldfootercolumn}
    {BEGIN mes_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END mes_fieldfootercolumn}
    {BEGIN detalhe_pedido_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END detalhe_pedido_fieldfootercolumn}
    {BEGIN custo_programado_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>{BEGIN custo_programado_showtotal}Total: {$custo_programado_total} {END custo_programado_showtotal}</TD>{END custo_programado_fieldfootercolumn}
    {BEGIN obs_uc_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END obs_uc_fieldfootercolumn}
    {BEGIN obs_reg_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END obs_reg_fieldfootercolumn}
    {BEGIN obs_sede_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END obs_sede_fieldfootercolumn}
    {BEGIN status_progr_uc_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END status_progr_uc_fieldfootercolumn}
    {BEGIN status_progr_reg_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END status_progr_reg_fieldfootercolumn}
    {BEGIN status_progr_sede_fieldfootercolumn}<TD class=blackshade vAlign=middle align=middle>&nbsp; </TD>{END status_progr_sede_fieldfootercolumn}
    {BEGIN endrecordtotals_block}<TD>&nbsp;</TD>{END endrecordtotals_block}{END totals_record}</TR></TFOOT>{END totals_row}</TABLE>{END grid_block}
{BEGIN pagination_block}<DIV class=toplist id="pagination_block{$id}" align=center>{$pagination}</DIV>{END pagination_block}
{BEGIN message_block}<div id="message_block{$id}" align=center valign=middle class=toplist><B>{$message}</B></div>{END message_block}{$event legenda}</div>{END body}{$footer}